<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h2 th:text="'尊敬的'+${name}+${sex==0?'女士':'男士'}"></h2>
<!--尊敬的${name}${sex},请点击下方的激活码激活邮件-->
<!--<a th:href="@{http://192.168.0.104:1478/activateUser/${name}}">点击激活</a>-->
<a th:href="'http://'+${address}+':1478/activateUser/'+${name}">点击激活</a>
</body>
</html>